package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author liuw
 * @since 2019-08-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBQ_T")
public class GwbqT extends PO<GwbqT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBQENT", type = IdType.INPUT)
    private String GWBQENT;

    private String GWBQ001;

    private Double GWBQ002;

    private String GWBQ003;

    private String GWBQ004;

    private String GWBQACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBQUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBQGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBQMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBQTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBQDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBQORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBQORIU;



    @Override
    protected Serializable pkVal() {
        return this.GWBQENT;
    }

}
